package info.webest.media.radio.classes;

import java.io.Serializable;

public class Bitrate implements Serializable {
	private static final long serialVersionUID = 5134357113029042219L;

	private String bitrate;
	private String url;
	private boolean isFinalUrl;

	public Bitrate(String bitrate, String url, boolean isFinalUrl) {
		this.bitrate = bitrate;
		this.url = url;
		this.isFinalUrl = isFinalUrl;
	}

	public String getBitrate() {
		return bitrate;
	}

	public String getUrl() {
		return url;
	}

	public boolean isFinalUrl() {
		return isFinalUrl;
	}

	@Override
	public int hashCode() {
		int hash = 61;
		hash = 17 * hash + bitrate.hashCode();
		hash = 17 * hash + url.hashCode();
		// hash = 17 * hash + isFinalUrl.hashCode();
		return hash;
	}
}